#ifndef OTHER_H
#define OTHER_H
#include "stm32f0xx.h"
#include "interface.h"
#include "si24r1.h"
#include "app_cfg.h"

/*************PEDAL SIDE********************/
void PEDAL_ADC_Pack_Deal(uint8_t* T_buf);
void PEDAL_ADDR_Deal(uint8_t* R_buf,uint8_t* addr_buf);
void Control_ST_Switch(uint8_t* T_buf,uint8_t* R_buf);
void PEDAL_ADDR_Read(uint8_t* addr_buf);

/*****************MASTER SIDE******************/
void MASTER_ADDR_Pack_Deal(uint8_t* T_buf);
void MASTER_ADC_Deal(uint8_t* R_buf);

/***********************address key reset**********************/
uint8_t RESET_address(void);

#endif
